package com.taiyo.modules.api.service;

import com.taiyo.modules.api.entity.TDiscountEntity;

import java.util.List;
import java.util.Map;

/**
 * 优惠
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-01-24 10:43:21
 */
public interface TDiscountService {
	
	TDiscountEntity queryObject(Long id);
	
	List<TDiscountEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TDiscountEntity tDiscount);
	
	void update(TDiscountEntity tDiscount);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);


}
